/*
 * Image.h
 *
 *  Created on: Jan 29, 2013
 *      Author: quanpv
 */

#ifndef IMAGE_H_
#define IMAGE_H_

#include "Graphic.h"

class Image: public Graphic {
public:
	Image(const char* file); // loads image from a file
	virtual ~Image();

	virtual void Draw(const Point& at);
	virtual void HandleMouse(Event& event);

	virtual const Point& GetExtent();

	virtual void Load(std::istream& from);
	virtual void Save(std::ostream& to);
private:
	// ...
};

#endif /* IMAGE_H_ */
